#include"shared_memory.hpp"
int main() 
{    
    shm.GetShm();
    shm.AttachShm();
    char *p = (char*)shm.GetShmPtr();
    char ch = 'a';
    while(ch<='z'){
        ::sleep(1);
        p[ch-'a'] = ch;
        ch++;
    }
    shm.DetachShm();
    return 0;
}